package com.ssy.lingxi.common.response;


import javax.validation.constraints.Positive;

/**
* 分页对象
* @author wrc
* @date 2020/5/11
*/
public class PageModel {
	/**
	 * 当前页
	 */
	private int current;

	/**
	 * 每页行数
	 */
	private int pageSize;

	public PageModel() {
		this.current = 1;
		this.pageSize = 10;
	}

	public Integer getPageSize() {
		return this.pageSize;
	}

	public Integer getCurrent() {
		return current - 1;
	}

	public void setCurrent(Integer current) {
		this.current = current;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
}
